﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AlterUserInfo.aspx.cs" Inherits="AlterUserInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>更改用信息</title>
<link href="css/allocation.css" rel="stylesheet" type="text/css" />
</head>
<body>
    
    <div id="wrapper">
  <div id="mainContent">
   <div id="allocationTable" class="dhd_table">
   <form id="form1" runat="server">
    <h1>
        用户信息修改</h1>
    
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        		<td width="15%">
                    用户名：</td>
        		<td width="85%">
        				<label>
                           <asp:TextBox ID="txtName" runat="server" Width="150px" ReadOnly="True"></asp:TextBox>
                            </label></td>
        		</tr>
        <tr>
        		<td>
                    旧密码：</td>
        		<td>
        				<label>
                            <asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                            <asp:CustomValidator ID="customValidOldPwd" runat="server" ErrorMessage="密码不正确！" ControlToValidate="txtOldPwd" OnServerValidate="customValidOldPwd_ServerValidate" Display="Dynamic"></asp:CustomValidator>
                            <asp:RequiredFieldValidator ID="rfvOldPwd" runat="server" ControlToValidate="txtOldPwd"
                                Display="Dynamic" ErrorMessage="请填入旧密码"></asp:RequiredFieldValidator></label></td>
        		</tr>
        <tr>
        		<td style="height: 30px">
                    新密码：</td>
        		<td style="height: 30px">
        				<label>
                            <asp:TextBox ID="txtNewPwd" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                            </label></td>
        		</tr>
        		   <tr>
        		<td>
                    确认密码：</td>
        		<td><label>
                                <asp:TextBox ID="reTexNewPwd" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                    <asp:CompareValidator ID="cValidreNewPwd" runat="server" ControlToCompare="txtNewPwd"
                        ControlToValidate="reTexNewPwd" ErrorMessage="密码不一致！"></asp:CompareValidator></label></td>
        		</tr>
        <tr>
        		<td style="height: 30px">
                    真实姓名：</td>
        		<td style="height: 30px">
        				<label>
                            <asp:TextBox ID="txtTrueName" runat="server" Width="150px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvTrueName" runat="server" ControlToValidate="txtTrueName"
                                ErrorMessage="*"></asp:RequiredFieldValidator></label></td>
        		</tr>
        <tr>
        		<td>
                    所在部门：</td>
        		<td>
                   <span > </span><asp:DropDownList ID="ddlDep" runat="server">
                    </asp:DropDownList></td>
        		</tr>
        <%--<tr>
        		<td style="height: 30px">
                    用户类型：</td>
        		<td style="height: 30px">
                   <span>您目前的用户类型是:<asp:Label ID="lblRoleMsg" runat="server"></asp:Label></span> &nbsp;&nbsp;&nbsp;&nbsp;如需更改,请您选择:<asp:DropDownList ID="ddlRole" runat="server">
                    </asp:DropDownList></td>
        		</tr>--%>
        <tr>
        		<td>
                    用户电话：</td>
        		<td>
                    <asp:TextBox ID="txtPhone" runat="server" Width="150px"></asp:TextBox></td>
        		</tr>
        <tr>
        		<td>
                    电子邮件：</td>
        		<td>
                    <asp:TextBox ID="txtEmail" runat="server" Width="150px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="txtEmail"
                        ErrorMessage="格式不正确！" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
        		</tr>
        <tr>
        		<td style="height: 27px"></td>
        		<td style="height: 27px">
        				<label>
                            &nbsp;<asp:Button ID="btnTijiao" runat="server" OnClick="btnTijiao_Click" Text="提  交" />
                            <asp:Button ID="btnCancel" runat="server" Text="取  消" OnClick="btnCancel_Click" CausesValidation="False" /></label></td>
        		</tr>
        <tr>
        		<td></td>
        		<td>
        				<label>
                            &nbsp;</label><label>
        				</label>
        		</td>
        		</tr>
      </table>
	 </form>
    </div>
    </div>
      <!-- end of mainContent -->
 
    
  <!-- end of mainContent --><div id="copyright">
    <p>Copyright&copy; 2009-2010 All rights reserved.<strong>桂林供电局</strong></p>
  </div>
 </div>
</body>
</html>